package com.zhentao.mapper;

import com.zhentao.model.common.dtos.ResponseResult;
import com.zhentao.model.common.vo.FeedbackVo;
import com.zhentao.model.social.dto.SocialDto;
import com.zhentao.model.social.dto.SocialLikeDto;
import com.zhentao.model.social.pojo.ApUserSocial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.model.social.vo.UserLikeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 许文倩
* @description 针对表【ap_user_social】的数据库操作Mapper
* @createDate 2024-07-05 09:47:01
* @Entity com.zhentao.pojo.ApUserSocial
*/
public interface ApUserSocialMapper extends BaseMapper<ApUserSocial> {

    List<UserLikeVo> getByUseId();

    List<SocialLikeDto> getOneByUseId(Integer userId);

    List<SocialLikeDto> findScoialByUserIds(@Param("userIds") List<Long> userIds);

    List<SocialLikeDto> selectListPage(SocialDto dto);

    List<FeedbackVo> getFeedback(@Param("userId") Integer userId);
}




